package com.dream.technology.db.dao;

import com.dream.technology.db.entity.RcCollarDataSetting;
import com.dream.technology.db.entity.RcCollarDataSettingQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RcCollarDataSettingMapper {
    int countByExample(RcCollarDataSettingQuery example);

    int deleteByExample(RcCollarDataSettingQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(RcCollarDataSetting record);

    int insertSelective(RcCollarDataSetting record);

    List<RcCollarDataSetting> selectByExample(RcCollarDataSettingQuery example);

    RcCollarDataSetting selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RcCollarDataSetting record, @Param("example") RcCollarDataSettingQuery example);

    int updateByExample(@Param("record") RcCollarDataSetting record, @Param("example") RcCollarDataSettingQuery example);

    int updateByPrimaryKeySelective(RcCollarDataSetting record);

    int updateByPrimaryKey(RcCollarDataSetting record);
}